PositiveIntOrNull

Deprecated

Use the positiveIntOrNull function instead.

Replace with

import kotools.types.number.positiveIntOrNull
positiveIntOrNull(value)

Returns the value as a PositiveInt, or returns null if the value is strictly negative.